package com.jingdianjichi.auth.domain.convent;

import com.jingdianjichi.auth.domain.entity.AuthUserBo;
import com.jingdianjichi.auth.infra.basic.entity.AuthUser;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface AuthUserConverter {

    AuthUserConverter INSERT = Mappers.getMapper(AuthUserConverter.class);

    AuthUser conventBoToCategory(AuthUserBo subjectCategoryBo);


    List<AuthUser> conventBoToCategory(List<AuthUserBo> subjectCategoryList);

}
